home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 11 / Mac Magazin and MacEasy Magazine CD - Issue 11.iso / Sharewarebibliothek / Entwickler / WASTE 1.1b1 Distribution / Demo Source / WEDemoMain.p < prev    next >
Text File  |  1995-06-01  |  385b  |  27 lines

  1. program WEDemoMain;
  2.  
  3. { WASTE DEMO PROJECT: }
  4. { Main Program }
  5.  
  6. { Copyright © 1993-1995 Marco Piovanelli }
  7. { All Rights Reserved }
  8.  
  9.     uses
  10.         WEDemoEvents, WEDemoInit;
  11.  
  12. { THINK Pascal compiler directive: turn off automatic initialization }
  13.  
  14. {$IFC NOT UNDEFINED THINK_PASCAL}
  15. {$I-}
  16. {$ENDC}
  17.  
  18. begin
  19.  
  20.     if (Initialize = noErr) then
  21.         repeat
  22.             ProcessEvent;
  23.         until gExiting;
  24.  
  25.     Finalize;
  26.  
  27. end.